package com.nchu.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.nchu.domain.dto.PageDTO;
import com.nchu.domain.po.Result;
import com.nchu.domain.po.User;
import com.nchu.domain.qo.UserQuery;
import com.nchu.domain.vo.UserVO;

import java.util.List;

public interface UserService extends IService<User> {

    void deductBalance(Long id, Integer money);

    UserVO queryUserAndAddressById(Long userId);

    Result queryUserByIdList(List<Long> ids);

    PageDTO<UserVO> queryUserPage(UserQuery query);
}
